<template>
    <div>
      <vedioComponent :recommendList="recommendList"></vedioComponent>
    </div>
  </template>
  <script setup >
    import vedioComponent from '../../components/vedioComponent/index.vue'
    import {onMounted,ref} from 'vue'
    import { reqClassfication } from "../../api/classification.js";
    import {bus} from '../../mitt/index.js'
    let recommendList = ref({})
    bus.on('beauty',async(id)=>{
      console.log(id,'美女id')
        let res = await reqClassfication(id)
        console.log(res,'接收到值了')
      recommendList.value = res

    })
 
  </script>
  
  <style scoped>
    
  </style>